using System;
using System.Collections.Generic;
using System.Text;

namespace ReinforcementLearning
{
    /*This class is a abstraction of action value concept, 
     *that representes the value of executing an action in a determinate state.
     *The Q-Table in the program is formed by many actions values
     */
    public class ActionValue
    {
 
        //The value of executing a given action in a given state
        public double value;
       
        //The number of times that the action has been executed in the given state
        public int numberOfVisits;

        public ActionValue(double value, int numberOfVisits)
        {
            this.value = value;
            this.numberOfVisits = numberOfVisits;
        }
    }
}
